import { createApp, nextTick } from 'vue'
import router from './router'
import store from './store'
import Layout from './layouts/index.vue'
import naive from 'naive-ui'
// 重置全局样式
import 'normalize.css'
import './styles/main.scss'
import './styles/theme/light.scss'
import './styles/animate.css';
import 'transition-style';

 
 

const app = createApp(Layout);
app.config.warnHandler = () => null
app.use(router)
app.use(store)
app.use(naive)
 
app.mount('#app')

nextTick(() => {
  postMessage({ payload: 'removeLoading' }, '*')
})